<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>test_index</title>
</head>
<body>
<p>{{index . 1}}</p>
<p>切片长度：{{len .}}</p>
{{with index . 1}}
    <p>
        <span>{{.Name}}</span>
        <span>{{.Age}}</span>
        <span>{{.Male}}</span>
    </p>
{{end}}

</body>
</html>